// components/custom/search/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    config: {
      type: Object,
      value: {
        "bg_color": "white",
        "color": "#000",
        "flag": 1,
        "name": "我是标题"
      }
    },
    commonHeadHeight: {
      type: Object,
      value: {
        titleHeight:'88',
        titleMargin:'40'
      }
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },
  /**
   * 组件的方法列表
   */
  methods: {
    page_to_address(){
      wx.navigateTo({
        url:'/pages/address/address'
      })
    },
    page_to_search(){
      wx.navigateTo({
        url:'/pages/search/search'
      })  
    }
  }
})
